projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8858c3a
)
flowbox: Don't render focus erroneously
author
Matthias Clasen
<mclasen@redhat.com>
Tue, 15 Dec 2015 20:10:08 +0000
(15:10 -0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Tue, 15 Dec 2015 20:10:08 +0000
(15:10 -0500)
The gadget render function should only return TRUE if the
widget has the focus, and wants it rendered.
gtk/gtkflowbox.c
patch
|
blob
|
history
diff --git
a/gtk/gtkflowbox.c
b/gtk/gtkflowbox.c
index 2a1baac730762d3582db249c4de0cfad0eb07a46..018804dd745299961b86807e308da6cea5788a97 100644
(file)
--- a/
gtk/gtkflowbox.c
+++ b/
gtk/gtkflowbox.c
@@
-2767,7
+2767,7
@@
G_GNUC_END_IGNORE_DEPRECATIONS
cairo_restore (cr);
}
- return
TRUE
;
+ return
gtk_widget_has_visible_focus (widget)
;
}
/* Autoscrolling {{{3 */